extends layout

block content
    #imageHeader
        img(src="./images/pong.jpg")
    h1= title
    if message
        p.errorMessage=message
    div.pageContainer
        div.leftSubContainer
            br
            form(name = "login", action="/login", method = "post")
                fieldset

                    legend New Player
                    | Name:
                    input(type = "text", name = "username", placeholder = "enter player name", autocomplete = "off")
                    br
                    | Password:
                    input(type = "text", name = "password", placeholder = "enter password", autocomplete = "off")
                    br
                    input(type = "submit", value = "sign up")
        div.rightSubContainer
            br
            form(name = "online", action="/online", method = "post")
                fieldset
                    legend Existing Players Log In
                    | Name:
                    input(type = "text", name = "username", placeholder = "enter player name", autocomplete = "off")
                    br
                    | Password:
                    input(type = "text", name = "password", placeholder = "enter password", autocomplete = "off")
                    br
                    input(type = "submit", value = "log in")
            br

        form(name = "findAll", action = "/findAll", method = "post")
            input(type = "hidden", name = "jadeFrame", value="lookupPlayer")
            input(type = "submit", value = "find users")

